set(avx_ex6_srcs )
if(CMAKE_CXX_COMPILER_ID MATCHES Clang OR CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES AppleClang)
set(avx_ex6_ass complex_conv_sse.s complex_conv_avx_stride.s)
elseif(MSVC)
set(avx_ex6_ass complex_conv_sse.asm complex_conv_avx_stride.asm)
endif()
add_executable(avx_ex6_tests ex6_test.cpp complex_conv_sse.c complex_conv_avx_stride.c ${avx_ex6_ass})
target_link_libraries(avx_ex6_tests gtest_main)

IF( benchmark_FOUND )
  add_executable(avx_ex6_bench ex6_bench.cpp ${avx_ex6_ass})
  target_link_libraries(avx_ex6_bench benchmark::benchmark)
ENDIF()

add_test(NAME avx_ex6_test COMMAND avx_ex6_tests)
